import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        isFlag: true
    },
    mutations: {
        change(state, msg) {
            this.isFlag = this.msg
            console.log('当前isFlag是：' + msg)
        }
    },
    actions: {},
    modules: {}
})